StatusBar = function() {

    /**
     * Container of Application's status
     */
    var container = null;
    var versionLabel = null;
    var con = null;
    return {
    	
        
        /**
         * Create status panel is empty and it will be populated later.
         */
        init : function() {
        	versionLabel = new Ext.form.Label({
        		id : 'versionLabel',
        		autoWidth : true,
        		style : 'white-space : nowrap;'
            });
        	
        	var spacer = new Ext.Spacer({
        		flex : 1
        	});
        	
        	container = new Ext.Container({
            	tag : 'div',
                layout : 'card',
                html : '&nbsp;'
            });
        	
        	con = new Ext.Container({
                region : 'south',
                split : true,
                height : 15,
                minSize : 20,
                maxSize : 20,
                collapsible : true,
                layout : 'hbox',
                defaults : {
                	autoHeight : true
                },
                items : [ container, spacer, versionLabel ]
            });
        	
            return con;
        }
    }
}();